package com.touzhijia.authority.controller;

import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 作者： lzw<br/>
 * 创建时间：2018-03-06 13:41 <br/>
 */
@Api(description = "跳转到首页")
@Controller
public class ToIndexController {

    @GetMapping("/")
    public ModelAndView toIndex() {
        return new ModelAndView("index.html");
    }
}
